package com.futureCloudMOM.core.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.futureCloudMOM.core.base.service.impl.BaseServiceImpl;
import com.futureCloudMOM.core.domain.BasicRoutingParam;
import com.futureCloudMOM.core.service.BasicRoutingParamService;
import com.futureCloudMOM.core.mapper.BasicRoutingParamMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 【Basic_RoutingParam】的数据库操作Service实现
 *
 * @author Administrator
 * @since 2023-06-06 15:19:30
 */
@Service
public class BasicRoutingParamServiceImpl extends BaseServiceImpl<BasicRoutingParamMapper, BasicRoutingParam> implements BasicRoutingParamService {

    @Override
    public List<BasicRoutingParam> selectListByProcessId(Long processId) {
        return list(new LambdaQueryWrapper<BasicRoutingParam>()
                .eq(BasicRoutingParam::getRoutingProcessId, processId));
    }
}
